<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="NikCodes.SharePoint.ClientSide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4c65a114af13ca0d" %>

<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="NikCodes.SharePoint.ClientSide.Settings" EnableViewState="true" %>
<%@ Register TagPrefix="sp" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="sp" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %> 
<%@ Register TagPrefix="sp" TagName="InputFormControl" src="/_controltemplates/InputFormControl.ascx" %> 
<%@ Register TagPrefix="sp" TagName="ButtonSection" src="/_controltemplates/ButtonSection.ascx" %> 

<asp:Content ID="WindowTitle" runat="server" ContentPlaceHolderID="PlaceHolderPageTitle">SharePoint Client Side Settings</asp:Content>
<asp:Content ID="PageTitle" runat="server" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea">SharePoint Client Side Settings</asp:Content>
<asp:Content ID="Description" runat="server" ContentPlaceHolderID="PlaceHolderPageDescription">Change the settings involved with SharePoint client side scripting.</asp:Content>

<asp:Content ID="Content" runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table class="ms-propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">

        <sp:InputFormSection id="JQuerySection" title="jQuery (1.3.2)" runat="server">
            <Template_Description>
                jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
                <br/><br/>
                <a href="http://docs.jquery.com/" target="blank">Documentation</a>
			</Template_Description>
            <Template_InputFormControls>
                <sp:InputFormControl runat="server" LabelText="">
                    <Template_Control>
                        <table>
                            <tr>
                                <td><image src="/_layouts/images/clientside/jquery.png" align="absmiddle" /></td>
                                <td colspan="3" class="ms-authoringcontrols">
                                <asp:CheckBox ID="JQueryCheckbox" Text="Include jQuery" runat="server"/>
                                <asp:Label ID="JQueryWarning" Text=" (Cannot be used with Prototype)" runat="server" ForeColor="Red" />
                                </td>
                            </tr>
                         </table>
                         
                         <br /><br />
                        <asp:LinkButton Text="View live demo" ID="JQueryDemoLink" runat="server"></asp:LinkButton>
                    </Template_Control>
                </sp:InputFormControl>
            </Template_InputFormControls>
        </sp:InputFormSection>
        
        <sp:InputFormSection id="JQueryUISection" title="JQuery UI (1.7.2)" runat="server">
            <Template_Description>
                jQuery UI provides abstractions for low-level interaction and high-level, themeable widgets, built on top of the jQuery JavaScript Library, that you can use to build highly interactive web applications.
                <br/><br/>
                <a href="http://docs.jquery.com/UI" target="blank">Documentation</a>
            </Template_Description>
            <Template_InputFormControls>
                <sp:InputFormControl runat="server" LabelText="">
                    <Template_Control>
						<table>
                            <tr>
                                <td><image src="/_layouts/images/clientside/jqueryui.png" align="absmiddle" /></td>
                                <td colspan="2" class="ms-authoringcontrols">
                                    <asp:CheckBox ID="JQueryUICheckbox" Text="Include jQuery UI" ToolTip="The Core is a required dependency for all other plugins and contains basic functions and initializers." runat="server"/>
                                    <asp:Label ID="JQueryUIWarning" Text=" (Requires jQuery)" runat="server" ForeColor="Red" />
                                </td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols">
                                    <br />Theme: 
                                </td>
                                <td class="ms-authoringcontrols">
                                    <br />
                                    <asp:DropDownList ID="JQueryUIThemes" runat="server" />
                                </td>
                            </tr>
                        </table>
                        <br /><br />
                        <asp:LinkButton Text="View live demo" ID="JQueryUIDemoLink" runat="server"></asp:LinkButton>
                    </Template_Control>
                </sp:InputFormControl>
            </Template_InputFormControls>
        </sp:InputFormSection>
        
        <sp:InputFormSection id="PrototypeSection" title="Prototype (1.6.1)" runat="server">
            <Template_Description>
                Prototype is a JavaScript Framework that aims to ease development of dynamic web applications. Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere.
                <br/><br/>
                <a href="http://www.prototypejs.org/api" target="blank">Documentation</a>
            </Template_Description>
            <Template_InputFormControls>
                <sp:InputFormControl runat="server" LabelText="">
                    <Template_Control>
						<image src="/_layouts/images/clientside/prototype.png" align="absmiddle" /><asp:CheckBox ID="PrototypeCheckbox" Text="Include Prototype" runat="server" />
						<asp:Label ID="PrototypeWarning" Text=" (Cannot be used with jQuery)" runat="server" ForeColor="Red" />
                    </Template_Control>
                </sp:InputFormControl>
            </Template_InputFormControls>
        </sp:InputFormSection>
        
        <sp:InputFormSection id="ScriptaculousSection" title="Scriptaculous (1.8.3)" runat="server">
            <Template_Description>
                 Scriptaculous provides you with easy-to-use, cross-browser user interface JavaScript libraries to make your web sites and web applications fly.
                <br/><br/>
                <a href="http://github.com/madrobby/scriptaculous/wikis" target="blank">Documentation</a>
            </Template_Description>
            <Template_InputFormControls>
                <sp:InputFormControl runat="server" LabelText="">
                    <Template_Control>
						<table>
                            <tr>
                                <td><image src="/_layouts/images/clientside/scriptaculous.png" align="absmiddle" /></td>
                                <td colspan="2" class="ms-authoringcontrols">
                                    <asp:CheckBox ToolTip="Test<br/>dthis" ID="ScriptaculousCheckbox" Text="Include Scriptaculous" runat="server"/>
                                    <asp:Label ID="ScriptaculousWarning" Text=" (Requires Prototype)" runat="server" ForeColor="Red" />
                                </td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td style="width:16px;">&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousBuilderCheckbox" Text="Include Scriptaculous Builder" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousEffectsCheckbox" Text="Include Scriptaculous Effects" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousDragDropCheckbox" Text="Include Scriptaculous Drag/Drop" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousControlsCheckbox" Text="Include Scriptaculous Controls" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousSliderCheckbox" Text="Include Scriptaculous Slider" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousSoundCheckbox" Text="Include Scriptaculous Sound" runat="server" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td class="ms-authoringcontrols"><asp:CheckBox ID="ScriptaculousUnitTestCheckbox" Text="Include Scriptaculous Unit Test" runat="server" /></td>
                            </tr>
                        </table>
                        <br /><br />
                        <asp:LinkButton Text="View live demo" ID="ScriptaculousDemoLink" runat="server"></asp:LinkButton>
                    </Template_Control>
                </sp:InputFormControl>
            </Template_InputFormControls>
        </sp:InputFormSection>
        
        <sp:InputFormSection id="ExtSection" title="Ext(3.1.0)" runat="server">
            <Template_Description>
                Ext JS is a cross-browser JavaScript library for building rich internet applications.
                <br/><br/>
                <a href="http://extjs.com/deploy/dev/docs/" target="blank">Documentation</a>
            </Template_Description>
            <Template_InputFormControls>
                <sp:InputFormControl runat="server" LabelText="">
                    <Template_Control>
						<image src="/_layouts/images/clientside/ext.png" align="absmiddle" /><asp:CheckBox ID="ExtCheckbox" Text="Include Ext" runat="server" />
						<br /><br />
                        <asp:LinkButton Text="View live demo" ID="ExtDemoLink" runat="server"></asp:LinkButton>
                    </Template_Control>
                </sp:InputFormControl>
            </Template_InputFormControls>
        </sp:InputFormSection>
        
         <sp:ButtonSection id="buttonSection" runat="server">
            <Template_Buttons>
                <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" Text="OK" id="OkButton" accesskey="S"/>
            </Template_Buttons>
         </sp:ButtonSection>
    </table>
</asp:Content>